import React, {useContext, useEffect} from 'react';
import {View, Text, Button} from 'react-native';
import {useMount, useUnmount} from 'ahooks';
import dayjs from 'dayjs';
import {useRoute} from '@react-navigation/native';
import {useSelector, useDispatch} from 'react-redux';
import GlobalContext from '@/GlobalContext';
export default ({navigation}) => {
  const dispatch = useDispatch();
  const routeData = useSelector(state => state.routeData.value);
  // const routeMy = useRoute();
  // const isShow = routeData?.name === routeMy?.name;
  // useEffect(() => {
  //   console.log('Found.isShow', isShow);
  // }, [isShow]);
  return (
    <View style={{flex: 1, alignItems: 'center', justifyContent: 'center'}}>
      <Text>发现</Text>
    </View>
  );
};
